import {User} from "./user"
import {Http} from "../utils/http"

class Score {
    static async uploadPoint(data) {
        const user = new User()
        return await Http.request({
            url: `/users/${user.user.id}/point`,
            data,
            method: 'POST'
        })
    }
}
export {
    Score
}
